package com.dixon.worddayday.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties("wx.config")
@Data
public class WxProperties {
	/**
	 * 下面四个字段必填
	 */
	private String appId; //>公众号appID/appId>
	private String secret; //公众号appsecret/secret>
	private String token; //公众号Token/token>
	private String aesKey; //>公众号EncodingAESKey/aesKey>

	/**
	 * 可选，用到时再填
	 */
	private String accessToken; //>可以不填写/accessToken>
	private String expiresTime; //>可以不填写/expiresTime>
	private String openid; //>某个加你公众号的用户的openId/openid>
	private String partnerId; //>微信商户平台ID/partnerId>
	private String partnerKey; //>商户平台设置的API密钥/partnerKey>
	private String keyPath; //>商户平台的证书文件地址/keyPath>
	private String templateId; //>模版消息的模版ID/templateId>
	private String oauth2redirectUri; //>网页授权获取用户信息回调地址/oauth2redirectUri>
	private String qrconnectRedirectUrl; //>网页应用授权登陆回调地址/qrconnectRedirectUrl>
	private String kfAccount; //>完整客服账号，格式为：账号前缀@公众号微信号/kfAccount>
}
